package 作业.Var1025.FeiJi;
//客机
public class Airliner extends Aircraft {
    private int zuowei;//座位

    public Airliner(int zuowei) {
        this.zuowei = zuowei;
    }

    public int getZuowei() {
        return zuowei;
    }

    public void setZuowei(int zuowei) {
        this.zuowei = zuowei;
    }

    @Override
    public void qifei() {
        System.out.println("客机起飞");
    }

    @Override
    public void jiasu() {
        System.out.println("客机加速");
    }

    @Override
    public void jiangluo() {
        System.out.println("客机降落");
    }
}
